package com.gupaoedu.vip.aftermodify.service.impl;

import com.gupaoedu.vip.aftermodify.model.dto.MemberDto;
import com.gupaoedu.vip.aftermodify.service.MemberService;
import com.gupaoedu.vip.aftermodify.model.po.MemberPO;

public class MemberServiceImpl implements MemberService {

    @Override
    public MemberPO getMemberPO(Long id) {
        MemberPO memberPO = new MemberPO();
        memberPO.setId(1L);
        memberPO.setName("张三");
        memberPO.setAge(18);
        memberPO.setTel("18999999999");
        memberPO.setAddress("北京市");
        memberPO.setCityId(1);
        memberPO.setRemark("无");
        return memberPO;
    }

    @Override
    public int getCouponCount(MemberDto memberDto) {
        // 根据会员信息查询相关数据。。。
        return 3;
    }
}
